package org.example.service;

import org.example.domain.dto.Condition;
import org.example.domain.dto.OrderStatus;
import org.example.domain.entity.Order;
import org.example.domain.entity.OrderItem;
import org.example.domain.model.OrdersPage;

import java.util.List;

public interface IOrderService {
    OrdersPage finOrder(Condition condition);

    List<Order> queryById(OrderStatus orderStatus);
    List<List<OrderItem>> queryByOrderId(List<String> orderId);
    void updateStatus(String orderId);
    Order queryByOne(String orderId);
    List<List<OrderItem>> queryByUserId(Integer userId);
}
